obj-m := kpcapture.o
KERNELDIR := ../linux-2.6.28
PWD :=$(shell pwd)

all:modules 

modules: 
	$(MAKE) -C $(KERNELDIR) M=$(PWD)  modules  

test:main.c
	gcc -o test main.c

synflood:synflood.c
	gcc synflood.c -o synflood

clean:
	rm -rf synflood *.mod.* *.o *.ko test .kpcapture* .tmp_versions *.order *.symvers

